<template>
  <div style="margin-bottom: 20px; text-align: left">
    <el-button type="primary" @click="visible = true">上传文件</el-button>
  </div>

  <FileTable />
  <UploadModal v-model:visible="visible" />
</template>
<script setup>
import { ref } from 'vue'
import FileTable from './components/FileTable.vue'
import UploadModal from './components/UploadModal.vue'

const visible = ref(false)
</script>
<style scoped>
#app {
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}
</style>
